package com.zyj.exam_app.menu_manager.bean;

import java.util.List;

/**
 * 导航菜单项对应实体类
 */
public class MenuBean {
    private String name;

    private String url;

    private String iconPath;

    /**
     * 子菜单
     */
    private List<MenuBean> subMenus;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }


    public List<MenuBean> getSubMenus() {
        return subMenus;
    }

    public void setSubMenus(List<MenuBean> subMenus) {
        this.subMenus = subMenus;
    }
}
